package com.lys.emsystem.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lys.emsystem.entity.Job;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lys.emsystem.vo.JobVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liyansheng
 * @since 2022-04-30
 */
@Mapper
public interface JobMapper extends BaseMapper<Job> {
    IPage<Job> search(Page<Object> objectPage,@Param("jobVo") JobVo jobVo);

    List<Job> find(@Param("job") Job job);
}
